Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ (#220): Add endpoint to get my org #221

Conversation

d135-1r43
Copy link
Collaborator

No description provided.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
66.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@byte-sized-emi
Copy link
Contributor

Von mir aus sieht's gut aus

String userName = securityContext.getUserPrincipal().getName();
Member me = memberRepository.findByEmail(userName);
if (me == null) {
throw new NotFoundException("Organization of User not found");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wäre gut, wenn wir auch eine Fehlermeldung bekommen statt nur den code. Quarkus ist ja leider so schlau und lässt die Fehlermeldung weg aus der Response.
Gerne mal in Zeile 142 und 143 schauen.

@3thr3n 3thr3n merged commit 9108a38 into main Dec 30, 2024
10 checks passed
@d135-1r43 d135-1r43 deleted the 220-as-a-frontend-developer-i-can-not-get-my-current-organization-after-login branch December 31, 2024 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a frontend developer i can not get my current organization after login
3 participants